package njupt.dao;

import java.util.List;

/**
 * @author leon(liangzou0318@gmail.com)
 * @date 2012-4-22
 * @filaname pingjia.java
 */
public interface PingJiaDAO {
    public int insertinfo(String pingjiainfo,String levelinfo,int userid,int goodsid)throws Exception;
    public List<String[]> disply_pingjia(int goodsid)throws Exception;
    public int createTousu(String tousuinfo,int userid,int orderid,int tousuStyle)throws Exception;
    public List<String[]> select(int type)throws Exception;
    public int updateTousuStatus(int orderid,int status)throws Exception;
    public List<String> selectTousuinfoToHander(int orderid)throws Exception;
    public int insertTousuChuli(int orderid,String chuliinfo)throws Exception;
    public List<String> selectTousuByCustmer(int orderid)throws Exception;
    public List<Integer> selectOrderidForCustmerShowTousu(int userid)throws Exception;
}
